package com.cpfmat.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.cpfmat.entity.Article;
import com.cpfmat.vo.CustomArticle;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhangbin
 * @since 2018-07-30
 */
public interface IArticleService extends IService<Article> {
	Page<CustomArticle> getManagePage(String title, String columnId, String parentColumnId, int pageNum, int pageSize);
	
	Page<CustomArticle> getPage(String title, String columnId, String parentColumnId, int pageNum, int pageSize);
	
	Page<CustomArticle> getRecommendPage(String columnId, String parentColumnId, int pageNum, int pageSize);
	
	Page<CustomArticle> getAllPage(String title,int pageNum, int pageSize);
	
	CustomArticle detailWithAttachments(String seqId);
	
	int customUpdate(Article article);
}
